<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" th:replace="~{publicpage(title='首页')}">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<div th:fragment="public_right">
    <h2>首页</h2>
    <p>public_right</p>
    <p>这部分可根据需要动态调整</p>
</div>
</body>
</html>